Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable iOS 12 cellular connectivity monitor by default #415

Merged
merged 2 commits into from
Mar 28, 2019

Conversation

rebello95
Copy link
Collaborator

We've started seeing some crashes when using the CTServiceRadioAccessTechnologyDidChange notification within ClientNetworkMonitor in production on iOS 12. This is an issue that's been reported in this radar: https://openradar.appspot.com/46873673

To provide a workaround for this problem, I'm adding the option to opt out of the new iOS 12 API and to instead use the stable pre-iOS 12 API.

I'm planning to release a new version of SwiftGRPC with this fix after it's merged, which is what the second commit of this PR reflects.

We've started seeing some crashes when using the `CTServiceRadioAccessTechnologyDidChange` notification within `ClientNetworkMonitor ` in production on iOS 12. This is an issue that's been reported in this radar: https://openradar.appspot.com/46873673

To provide a workaround for this problem, I'm adding the option to opt out of the new iOS 12 API and to instead use the stable pre-iOS 12 API.

I'm planning to release a new version of SwiftGRPC with this fix after it's merged.
Updated to 0.8.1 and re-generated the Carthage project. This release is being made to fix a crash with the connectivity monitor.
@rebello95 rebello95 requested review from timburks and MrMage March 27, 2019 22:43
@MrMage
Copy link
Collaborator

MrMage commented Mar 28, 2019

@rebello95 feel free to merge and cut a new release at your convenience.

@rebello95
Copy link
Collaborator Author

Thanks @MrMage. Going to merge-commit (instead of squashing) since these 2 changes are pretty distinct.

@rebello95 rebello95 merged commit 7958369 into grpc:master Mar 28, 2019
@rebello95 rebello95 deleted the networkmonitor-fix branch March 28, 2019 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants